package net.csdn.business.common.domain.request.notify;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;


/**
 * 新增通知中心-系统公告对象DTO notify_announce
 * 
 * @author zhangyl
 * @date 2023-11-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NewNotifyAnnounceDTO implements Serializable
{

    private static final long serialVersionUID = 1L;
    /** 公告标题 */
    @NotBlank(message = "title不能为空")
    private String title;
    /** 公告内容，可以为富文本 */
    @NotBlank(message = "content不能为空")
    private String content;

    private Boolean isAll=true;
    /** 非全员发送时候，接收人员id*/
    private List<String> receiverIds;
    /** 当前操作用户 */
    private String curUserId;

}
